﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLFacade.entities;

namespace BLFacade
{
    public interface IDataFacade
    {
        List<IEmployee> GetEmployees();
        List<ICustomer> GetCustomers();
        List<IProject> GetProjects();
        List<IAppointment> GetAppointments();
        ICustomerContacts GetContact(string FirstName, string MiddleName, string LastName, ICustomer customer);

        void CreateCustomer(string name, string address, string description);
        void CreateEmployee(string firstName, string middleName, string lastName, string email, string phoneNumber, DateTime dateofBirth, IAppointment appointment, double salaryModifier, string username, string password);
        IPerson CreatePerson(string firstName, string middleName, string lastName, string email, string phoneNumber, string username, string password);
        bool IsUniqueUsername(string username);
        void SaveChanges();
    }
}
